package com.finer.entity.document;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 商品类别表(FinerGoodsType)实体类
 *
 * @author makejava
 * @since 2024-10-21 10:20:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FinerGoodsType implements Serializable {
    private static final long serialVersionUID = 751519198382638451L;
    /**
     * Id.
     */
    private Integer Id;

    //父级Id
    private Integer parentId;

    //类别编码
    private String typeCode;
    /**
     * 类别名称.
     */
    private String typeName;
    /**
     * 创建人.
     */
    private Integer createBy;

    //创建人名称
    private String createName;
    /**
     * 创建时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    /**
     * 修改人.
     */
    private Integer modifyBy;

    //修改人名称
    private String modifyName;
    /**
     * 修改时间.
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date modifyDate;
    /**
     * 0-存在，1-删除.
     */
    private Integer isDel;

    //子节点
    private List<FinerGoodsType> children;

}

